Einhugur macOS Bridge plugin.

EinhugurMacOSBridge.NSGroupTouchBarItem Class (desktop)

Touch Bar item type which is to group more than one item. For example if you want to set two buttons to be principal items to show in the middle then you would create NSGroupTouchBarItem and set that one as the Principal item and add the two buttons to the NSGroupTouchBarItem.

For Touch Bars macOS 10.12.2 or later is needed.

EinhugurMacOSBridge.NSTouchBarItem
   NSGroupTouchBarItem

class EinhugurMacOSBridge.NSGroupTouchBarItem

Constructors

NSGroupTouchBarItemConstructor that takes identifier and array of child items.

Properties

ClassName (Inherited) (desktop - console) Returns the name of the Cocoa class under the hood as String.
CustomizationLabel (Inherited) Sets or gets the user-visible string identifying this item during bar customization.
Handle (Inherited) Returns Integer handle to the native NSObject structure.

Methods

Release (Inherited) Releases the NSObject.
Retain (Inherited) Retains the NSObject
SetVisibilityPriority (Inherited) Sets priority of the Touch Bar item, where the lowest priority ones get hidden if there is no space to show them all.

Constants

Version = 5.0 (Inherited)

Examples


Dim it as NSGroupTouchBarItem = new NSGroupTouchBarItem(itemIdentifier, _
   array ( item, item2))

Supported Platforms:

  • macOS Intel 64 bit
  • macOS Apple Silicon
  • Unsupported Platforms:

  • Windows 32 bit
  • Windows 64 bit
  • Windows ARM 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM 32 bit
  • Linux ARM 64 bit